home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
CD School House 9
/
CD School House 9.0 - Wayzata Technology (1994).iso
/
pc
/
dos
/
math
/
nonlin
/
circle.nlr
< prev
next >
Wrap
Text File
|
1994-05-29
|
521b
|
27 lines
Title "Fit circle to group of points";
Variable Xp; // X coordinate of point
Variable Yp; // Y coordinate of point
Parameter Xc; // X position of circle center
Parameter Yc; // Y position of circle center
Parameter R; // Radius of circle
Function sqrt((Xp-Xc)^2 + (Yp-Yc)^2) - R;
Data ;
10.7 14.7
13.2 12.4
15.7 14.4
16.0 11.0
14.9 8.9
16.6 8.3
13.4 6.1
12.0 3.6
9.2 5.1
6.2 4.6
5.0 7.0
5.0 8.2
3.6 10.0
5.0 10.2
3.6 11.8
5.0 14.8
7.4 14.6
9.4 16.5